package com.ljt.service;

import com.ljt.entity.UserEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by wb-ljt251780 on 2017/7/24.
 */
public interface UserService {
    public int login(UserEntity userEntity);
    public Page<UserEntity> findAll(Pageable pageable);

    UserEntity findById(Long id);

    void saveOrUpdate(UserEntity userEntity);
}
